package staticFactory.a2;

public class Student {
    private String stuId;
    private String stuName;
    private Integer stuAge;

    public Student(String stuId, String stuName, Integer stuAge) {
        this.stuId = stuId;
        this.stuName = stuName;
        this.stuAge = stuAge;
    }

    public String toString() {
        return "Student{" +
                "stuId='" + stuId + '\'' +
                ", stuName='" + stuName + '\'' +
                ", stuAge=" + stuAge +'}';
    }
}
